

let a = 'aHR0cDovLzQ3LjkzLjE4OC4xODE6ODA4MC96dHNqeHh4dC9zeXMvY29tbW9uL3N0YXRpYy9kb2MtdGVtcGxhdGUvZmlmdGhSZXBvcnQuZG9jeA=='
let b = encodeURIComponent(a)
console.log(b);